MedicalViewerCellCollection<T> Class

Summary
Represents a generic collection of MedicalViewerBaseCell objects.
Syntax
C#
C++/CLI
[DefaultMemberAttribute("Item")] 
public class MedicalViewerCellCollection<T> : MedicalViewerCollection<MedicalViewerBaseCell> 
            generic<typename MedicalViewerBaseCell> 
public ref class MedicalViewerCellCollection : public MedicalViewerCollection<MedicalViewerBaseCell>, System.Collections.Generic.ICollection<MedicalViewerBaseCell>, System.Collections.Generic.IEnumerable<MedicalViewerBaseCell>, System.Collections.Generic.IList<MedicalViewerBaseCell>, System.Collections.IEnumerable   
Remarks

The Generic MedicalViewerCellCollection class provides a generic collection class that implements the .NET Generic IList, Generic ICollection and Generic IEnumerable interfaces.

Example

This example freezes the selected cells.

C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.ImageProcessing.Core; 
 
public void MedicalViewerCellCollectionExample() 
{ 
   int index; 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   medicalViewer.Cells.SelectAll(false); 
   for (index = 0; index < medicalViewer.Cells.Count; index++) 
      if ((index % 2) == 0) 
         medicalViewer.Cells[index].Selected = true; 
   medicalViewer.Cells.FreezeSelected(true); 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.